<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>bug详情</title>
    <script src="js/jquery.js"></script>
    <link rel="stylesheet" href="js/layui/css/layui.css">
</head>
<body style="padding: 20px">
<form class="layui-form" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">BUG标题：</label>
        <div class="layui-input-block" style="padding: 9px 15px;">
            ${vo.bugName}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">项目名称：</label>
        <div class="layui-input-block" style="padding: 9px 15px;">
            ${vo.proName}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">模块ID：</label>
        <div class="layui-input-block" style="padding: 9px 15px;">
            ${vo.funcId}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">BUG等级：</label>
        <div class="layui-input-block">
            <input name="bugLevel" type="radio" value="1：轻微" ${vo.bugLevel=='1：轻微'?'checked':''} class="layui-input" title="1：轻微" disabled/>
            <input name="bugLevel" type="radio" value="2：次要" ${vo.bugLevel=='2：次要'?'checked':''} class="layui-input" title="2：次要" disabled/>
            <input name="bugLevel" type="radio" value="3：一般" ${vo.bugLevel=='3：一般'?'checked':''} class="layui-input" title="3：一般" disabled/>
            <input name="bugLevel" type="radio" value="4：紧急" ${vo.bugLevel=='4：紧急'?'checked':''} class="layui-input" title="4：紧急" disabled/>
            <input name="bugLevel" type="radio" value="5：严重" ${vo.bugLevel=='5：严重'?'checked':''} class="layui-input" title="5：严重" disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">创建日期：</label>
        <div class="layui-input-block" style="padding: 9px 15px;">
            ${vo.bugDate}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">最后处理日期：</label>
        <div class="layui-input-block" style="padding: 9px 15px;">
            ${vo.editDate}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">提交人员：</label>
        <div class="layui-input-block" style="padding: 9px 15px;">
            ${vo.bugDev}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">BUG状态：</label>
        <div class="layui-input-block">
            <input name="bugStatus" type="radio" value="已修复" ${vo.bugStatus=='已修复'?'checked':''} class="layui-input" title="已修复" disabled/>
            <input name="bugStatus" type="radio" value="待修复" ${vo.bugStatus=='待修复'?'checked':''} class="layui-input" title="待修复" disabled/>
            <input name="bugStatus" type="radio" value="已关闭" ${vo.bugStatus=='已关闭'?'checked':''} class="layui-input" title="已关闭" disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">解决形式：</label>
        <div class="layui-input-block">
            <input name="fixWay" type="radio" value="1：解决" ${vo.fixWay=='1：解决'?'checked':''} class="layui-input" title="1：解决" disabled/>
            <input name="fixWay" type="radio" value="2：不是错误" ${vo.fixWay=='2：不是错误'?'checked':''} class="layui-input" title="2：不是错误" disabled/>
            <input name="fixWay" type="radio" value="3：错误重复" ${vo.fixWay=='3：错误重复'?'checked':''} class="layui-input" title="3：错误重复" disabled/>
            <input name="fixWay" type="radio" value="4：无法重现" ${vo.fixWay=='4：无法重现'?'checked':''} class="layui-input" title="4：无法重现" disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">备注：</label>
        <div class="layui-input-block">
            <textarea type="text" name="bugText" disabled="disabled" class="layui-input" style="height: 100px;padding-left: 10px;" placeholder="请输入内容......">${vo.bugText}</textarea>
        </div>
    </div>
</form>
<script src="js/layui/layui.js" charset="utf-8"></script>
<script>
    layui.use(['form', 'layedit', 'laydate'], function () {
        let form = layui.form, layer = layui.layer, layedit = layui.layedit;
        //创建一个编辑器
        let editIndex = layedit.build('LAY_demo_editor');
    });
</script>
</body>
</html>
